package daybook.io.args;

import com.beust.jcommander.Parameter;
import com.beust.jcommander.Parameters;

import java.util.ArrayList;
import java.util.List;

import static daybook.Resources.RESOURCES_NAME;
import static daybook.Resources.Usages.COMMAND_SHELL;
import static daybook.Resources.Usages.JAVASCRIPT_FILES;

@Parameters(separators = "=", resourceBundle = RESOURCES_NAME,
        commandDescriptionKey = COMMAND_SHELL)
public class CommandShell {
    @Parameter(descriptionKey = JAVASCRIPT_FILES)
    private List<String> files = new ArrayList<>();

    public List<String> getFiles() {
        return files;
    }
}
